package pojo.view;

import lombok.Getter;
import lombok.Setter;
import pojo.Record;

import java.sql.Timestamp;

@Getter
@Setter
public class MRecord extends Record {
    private String name;
    private String phone;

    public MRecord(String id, String floor_name, int number, Timestamp reserve_time, Timestamp start_time, Timestamp end_time, boolean cancel_flag, String name, String phone) {
        super(id, floor_name, number, reserve_time, start_time, end_time, cancel_flag);
        this.name = name;
        this.phone = phone;
    }

/*    public MRecord() {
        super();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }*/
}
